﻿using System;

namespace Pap.Data
{
    /// <summary>
    /// 
    /// </summary>
    public interface IUserMessage : IEntity
    {
        /// <summary>
        /// Gets or sets the user message ID.
        /// </summary>
        /// <value>
        /// The user message ID.
        /// </value>
        Guid UserMessageID { get; set; }
        /// <summary>
        /// Gets or sets the creation date.
        /// </summary>
        /// <value>
        /// The creation date.
        /// </value>
        DateTime CreationDate { get; set; }
        /// <summary>
        /// Gets or sets from user ID.
        /// </summary>
        /// <value>
        /// From user ID.
        /// </value>
        Guid FromUserID { get; set; }
        /// <summary>
        /// Gets or sets to user ID.
        /// </summary>
        /// <value>
        /// To user ID.
        /// </value>
        Guid ToUserID { get; set; }
        /// <summary>
        /// Gets or sets the subject.
        /// </summary>
        /// <value>
        /// The subject.
        /// </value>
        String Subject { get; set; }
        /// <summary>
        /// Gets or sets the message.
        /// </summary>
        /// <value>
        /// The message.
        /// </value>
        String Message { get; set; }

        /// <summary>
        /// Gets from user obj.
        /// </summary>
        IUser FromUserObj { get; }
        /// <summary>
        /// Gets to user obj.
        /// </summary>
        IUser ToUserObj { get; }
    }
}
